var limsPurposeMethod = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {
            field : 'methodcode',
            title : 'T_LIMS_PURPOSE_METHOD.METHODCODE'
        }, {
            field : 'methodname',
            title : 'T_LIMS_PURPOSE_METHOD.METHODNAME'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'methodcode',
            title : 'T_LIMS_PURPOSE_METHOD.METHODCODE',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'methodname',
            title : 'T_LIMS_PURPOSE_METHOD.METHODNAME',
            validators : [ 'strLength[0,66]' ]
        }, ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/coredata/purpose-methods'
});
